<template>
	<view>
		<up-cell-group :custom-style="customeStyles">
			<up-cell title="业主如何添加家人或租客？" :is-link="true" arrow-direction="right" @click="handleClick(0)"></up-cell>
			<up-cell title="如何采集人脸" :is-link="true" arrow-direction="right" @click="handleClick(1)"></up-cell>
			<up-cell title="APP下载安装流程" :is-link="true" arrow-direction="right" @click="handleClick(2)"></up-cell>
		</up-cell-group>
	</view>
</template>

<script setup>
	const customeStyles = {
		backgroundColor: "#fff",
		marginTop: "40rpx"
	};
	const handleClick = (index) => {
		switch (index) {
			case 0:
				uni.navigateTo({
					url: "/pages/mine/helper/img-show?url=" + (
						"http://file.xjznpt.cn/tmp/add_family.png")
				});
				break;
			case 1:
				uni.navigateTo({
					url: "/pages/mine/helper/img-show?url=" + (
						"http://file.xjznpt.cn/tmp/add_collect.png")
				});
				break;
			case 2:
				uni.navigateTo({
					url: "/pages/mine/helper/img-show?url=" + (
						"http://file.xjznpt.cn/tmp/add_download.png")
				});
				break;
		}
	}
</script>

<style>

</style>